package org.stvd.service.workflow;

import java.util.List;
import java.util.Map;

import org.activiti.engine.history.HistoricActivityInstance;
import org.activiti.engine.impl.persistence.entity.ProcessDefinitionEntity;

/**
 * @Title WorkflowTraceService
 * @Destribution 工作流跟踪业务层接口类
 * @author houzx
 * @date 2020年10月29日
 */
public interface WorkflowTraceService {

    /**
     * 流程跟踪图
     * @param processInstanceId 流程实例ID
     * @return 封装了各种节点信息
     */
    public List<Map<String, Object>> traceProcess(String processInstanceId) throws Exception ;
    
    public List<String> getHighLightedFlows(ProcessDefinitionEntity processDefinitionEntity,
        List<HistoricActivityInstance> historicActivityInstances) ;
}
